<%@page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>

      <form action="${pageContext.request.contextPath}/addPerson.do" method="post">
       
         员工编号：<input name="personId"/></br>
         员工姓名： <input name="personName"/></br>   
         部门:
       <select name="dept.deptName">
     
       <option value="部门1">部门1</option> 
       <option value="部门2">部门2</option>
       <option value="部门3">部门3</option>
       <option value="部门4">部门4</option>
        
       </select></br>
       
       <input  type= "submit" value="登录"/></br>
      </form>
</body>
</html>